package net.esj.basic.service.provider;

import java.util.HashMap;
import java.util.Map;

import com.sun.jersey.core.impl.provider.entity.XMLJAXBElementProvider.App;

import net.esj.basic.pojo.system.ApplicationClass;

public abstract class ApplicationProvider {

	private static final Map<Class<?>,ApplicationClass> cacheClasses = new HashMap<Class<?>,ApplicationClass>();
	
	public static final void regisitry(Class clazz ,ApplicationClass apclass){
		cacheClasses.put(clazz, apclass);
	}
		
	public static final ApplicationClass getClass(Class<?> clazz){
		return cacheClasses.get(clazz);
	}
	
}
